<?php
declare(strict_types=1);
namespace app\core\Proxy;
use app\core\Container\Reflection\ReflectionContainer;
use ReflectionClass;
use ReflectionMethod;
class Proxy{
    public static $scanDirs=[
        'controller'=>[
            'path'=>APP.'/app/controller',
            'prefix'=>'\\app\\controller\\',
            'methods'=>[]
        ],
        'business'=>[
            'path'=> APP.'/app/business',
            'prefix'=> '\\app\\business\\',
            'methods'=>[]
        ],
    ];
    public static function build(){
            
        foreach(self::$scanDirs as $k=>$v){
            
            $classList=preg_replace("/.php/",'',array_values(array_diff(scandir($v['path']), array('.', '..'))));
            $fileList='';
            foreach($classList as $clv){
                
                $fileList.=$v['path'].'/'.$clv.'.php ';
            
            }
          
          
            break;
        }

      
    }
 
}

